<div class="layuimini-container">
    <div class="layuimini-main">
        <table id="currentTable" class="layui-table layui-hide"
               data-auth-add="{:auth('task.user/add')}"
               data-auth-edit="{:auth('task.user/edit')}"
               data-auth-delete="{:auth('task.user/delete')}"
               lay-filter="currentTable">
        </table>
    </div>
</div>
<script type="text/html" id="action-tpl">
    {{# if(d.status == 1){}}
        <a class="layui-btn layui-btn-success layui-btn-xs" data-open="task.user/evaluate?id={{d.id}}" class="layui-table-link">评价</a>
    {{# } }}
    {{# if(d.status == 2){}}
        <a class="layui-btn layui-btn-xs layui-btn-normal" data-open="task.user/detail?id={{d.id}}" class="layui-table-link">详情</a>
    {{# } }}
</script>